package ch.zbw.pra.sysventory.domain.dbconnector;

import java.sql.ResultSet;

public interface IDBConnector {

	public ResultSet executeQuery(String query);

	public int updateQuery(String query);

	public int getLastInsertedId();

	public void setAutocommit(boolean state);

	public void commit();

	public void rollback();

	public void closeResultSetAndPreparedStatement();

}
